Fixes type-mismatch
Merge pull request #59 from lukecampbell/vel3d

Fixes type-mismatch