Fixed bug in cuboid  y and z parameters switched.