Removed prints and fixed latitude bug