Ready to test new-max norm code, swapped error function