fixed bug when running metrics
Merge branch 'master' of github.com:tiefenauer/m3d