Remove deprecated numLayers function
Remove CFF file output
Remove debug output functions
Readd math.h check
Update copyright years
Wrap HDF5 code sections
White space
Change argument checking
Merge branch 'eheien/fix-general-bugs'