Updated MUF solution to problem 3.