Source: https://money.stackexchange.com/questions/35766/how-can-i-calculate-my-income-for-purposes-of-an-ira-deduction-when-i-have-hsa-4