Added x_m output in step 10 (Issue #1)