refactored render_model.m and added a force vs. time function