Thanks a lot for reporting this! I have fixed the issue, and improved the ui of the result given by the calculator. Do let me know if there are any more changes you would like to see.
I don't see the issue being fixed: try to calculate investment of $1M with 20% annual interest for a loan with 0.5y duration. The calc says the income would be 0.