A proposal only.
A fix to the proposal.
added binary search to reference.cpp's getStretch
fixes and more useful assertions
fix to binary search
Merge branch 'bugs/302'