Update FM.scala to add predictor

Add predictor for FM model