Added an error clause to handle unimplemented functions
Added an error clause to handle unimplemented functions

Also changed pretty-printing to be less space-consuming

DrSLDR/mgmag-proj,DrSLDR/mgmag-proj,DrSLDR/mgmag-proj