mortgage calculation and pension