minor changes: higher reward to trips of length close to the ideal trip length