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
change multinomial return type to be Integer[] (previously RealMatrix)
1. fix examples. 
2. improve syntax highlighting.
Merge pull request #316 from BayesianLogic/fix-sub-mat

mixed fixes for fixedfunction
Merge branch 'master' into change-multinomial-return-type
remove redundant type checking in semant
1. added spec for int array, real array
2. fixed array sub resolution issue
3. fixed histogram for array values
4. fixed multinomial value type to be ArrayList<Integer>
fix test for Multinomial
fix type issue in multinomial.getProb
fixed two subscript issue
remove array-test.blog, remove support for double array
fix examples
Fix getFiniteSupport.
Merge pull request #317 from BayesianLogic/change-multinomial-return-type

change multinomial return type to be Integer[] (previously RealMatrix)

1. added spec for int array, real array
2. fixed array sub resolution issue
3. fixed histogram for array values
4. fixed multinomial value type to be ArrayList