Added gear spacing calculation for derailleur gears and internal gear hubs.