fixing magnitude output
Merge branch 'more_dpph' into develop