migrating vector3f functions to be inlined, also migrating to C99 standard for the inlining semantics and adding O2 flag to makefiles