Added vector.js and water physics functionality