Math.java is now feature complete. Not very clean though...