IT ALMOST WORKS

Implemented acos table and returned range calculation back in meters.