Add more optimization methods + fix the Ball parameterization.