create template function for toInt()
add RealMatrix to Int
make sure the fixed function is correctly processed, when it is a
function call express.
fix the sub-matrix to make it same as function signature.
fix stochastic-volatility
add support for new SUB_MAT and SUB_MAT2

now A[i][j] refers to the element in i-th row and j-th column.
A[x] refers to the x-th element columnwise.
fix getType in SymbolTerm and LDA example
Merge pull request #316 from BayesianLogic/fix-sub-mat

mixed fixes for fixedfunction