How to calculate tax deductions for investment property