Fixed bug in second ride related equations