Fixed critical error in the 1st version of LibFM-Java