Fixed issue where velocity inputs weren't working correctly. Solution is a hack and further edits are advised, but it works for now.