fix extend training error
spelling error in printRBM
add description of how to resume training