return a very large magnitude class value for fitness = 0
cath domain error in cos that was caused by some optimization runs, not clear why it can happen though