An application that calculates an optimal mortgage mix, with the aim of returning as little money to the bank as possible.