fixed head edge case
deleted print statements
Merge remote-tracking branch 'origin/master' into boneweight