corrected flags for linking with matlab.
changed variables to make calcEigenrayPr easier to read.

This is related to issue #28.
Merge branch 'development' of ssh.siplab.fct.ualg.pt:/home/eey/models/cTraceo into development