Reinstate eye, ptp.

Fix typos in methods, avoid float conversion, add tests for methods.