LPM0 Checkpoint

Having trouble getting LPM0 implementation working. Going to switch to
while loops for now.