Re-add removed debug utility
Rename cocoa.py
Switch approxdelta to giving x.y estimates rather than x+