Added the fix to the bug that I was recieving when compiling the code the first time around. Remember to place formula after the input.