fix the bug that np's default sum not equals matlab
add new cython version rbm worker
new implement for thread like process