What is ending mortgage principal