bugfix in hopfieldnet_sel
modified node selection
efficient calculation of Tmat in hopfieldnet_sel
add one space in output of hopfieldnet
efficient cal of objective function