Main.java: squared doubles
MathUtils.java: fixed error in square(double)