implemented NK adaboost. this code is still being developed and hasn't been tested yet...