Defines member functions using prototype.
Fixes missed prototype issues. Runs build.
Fixes undefined sub error in Vector3.
Merge pull request #13 from baalexander/use_prototypes

Uses `prototype` for declaring member functions