somehow fixed gbrbm training by lots of changes on the eigen core usage