Calculates the longitudinal and transversal spherical aberrations of a spherical lens, knowing the object position, the aperture diameter (located on the first surface) and the lens parameters.