Fixed bug in form_foot_pos_matrices.m. Fixed length of the preview window. Renamed functions.