using primes to calculate angles above 90 and below -90