Added toggling functionality to forces. Also separated the code in Model.java into more functions