Computing the Third Order Spherical Aberration of a Lens