Adding get methods to the StochCalc code, for use in the optimization. Also modifying setup to work on my mac