Updated findvel_gem.py to fix bugs