In a program I\'m running, I have an issue where the exponent (**) operator in python is throwing a "RuntimeWarning: invalid value encountered in double_scalars" e