added prototyping in physics.vector()