More tests; tweaks
Only setting dim attribute on return value in morph.default() if dimensionality is >1
Renaming header files .hpp > .h, for compiler compatibility and to keep R happy