A preferred mortgage may bear such interest on an obligation secured by the mortgage as the parties may agree which interest may be at fixed rates, variable rates, rates based upon formulas or by adding margins to the mortgagee’s cost from time to time of funding an obligation secured by the mortgage, or by any other method to which the parties may agree.