Chain and sprocket mechanism for Rotary to Linear Motion