Fix direction of differences
Incorporate changes into test code

Add lead-in and slow down
Check for small ksidot
Use lastgood phi