code wasn't working because I put in a logical statement to prevent me from getting a divide by 0 error and forgot to take it out when I added one to the whole denominator wheeeeee I am the smartest
@Maenad fixing it twice = breaking it. stupid computers.