Force waveform generation and recording lateral movement of teeth