How Mortgage Penalties Are Calculated