very basic d' calculation script (currently Matlab only)