issue #54 fixed indexing bug in fastgentleboosting