Made sure all dimensions were floats (by adding decimals)