Remove unused function for DIC calculations
Make compatible with Octave and additional unix systems

- The 'unix' and 'dos' functions are not interchangeable in Octave
- Also look for jags in /usr/bin/ (Ubuntu)