Added set_printoptions, get_printoptions functions.  Closes #158
Merge branch 'issue158' into devel