matrix applier; major changes, finalised, needs to be checked
the final version of the jones matrix applier standalone tester;struct oriented