Design matrix now created for 1.2, starting error function