Commented about speed of loop.
Added an input_force function.