R docs for new matrix to Java functions
R doc for predict(...,prob=TRUE) code