Remove unused function for DIC calculations
Make script compatible with Octave (for which the 'unix' and 'dos' functions are not interchangeable) and set up script to also look for jags in /usr/bin/ (Ubuntu)