correct indent of velocity_test.js
check calculation of y
correct indent of velocity.js
change heading depending on omega
bump version to 0.5.0