What number are you plugging into the x -1 that is in your angle deg? The reason I am asking is because it is reporting the -1#IO error, which as stated indicates a negative infinite value which cannot be printed because it is, as it says, infinite. Depending upon the circumstance, it may be as simple as the computation that is being utilized produces an infinite number outcome, which would absolutely cause this to occur.