Simple PHP Function to calculate the mortgage payments.