Cleaning up THREE.js vector conversions, fixes #26