convert reciprocal motion into linear motion