correction and add new function to print
Merge branch 'master' of https://github.com/pastdb/PAST