for (int i = 0; i < layers.length; i++) {
layers[i].gen();
}
values = new MatrixN3f(width, height, depth);
for (int i = 0; i < layers.length; i++) {
final int xoffset = genOffset(width, rand);
final int yoffset = genOffset(height, rand);
final int zoffset = genOffset(depth, rand);