Changed Predictor to use common.RowMatrix etc.