Adding gear ratio calculation