Removed setvel code. It was causing weird bugs.