Made individual balancing functions. Now to find where they need to be called in the code to work.