consistent wavefront() output parsing
(#601)
redo some optics unit tests to account for new return values of various functions
(#601)