Added boost as requirement for shared pointers.
Adding methods for wavefuncs to write their member arrays (waves, diff pats)
Convert several functions to use ImageIO objects