Added speed calculation to log using velocity in view