Made output of U and parameters consistent.