Fixed a bug where lens_separation_distance should be used instead of ipd in the equation for h