Update rbm.java

by Kairan