Added vec3_dot function

Closes https://github.com/PistonDevelopers/vecmath/issues/6