the allele wouldn't round right, so if you need to round it to the nearest 100th, round q first, then subtract it from 1 to get p
this stemmed from me thinking "i don't want to spend 20 minutes doing math, I'll just make a program to do it for me", 3 hours later, after repeadedly doing the math to figure out the program, here it is