Create averageVelocity_vi_vf.rb

added average velocity [v(avg) = (vi+vf)/2]