Renamed the iyp variable to d
Replaced [2],[3] by [pbindaff],[predicted]
Swapped p and y in rf-stat.cpp
Simplified rf-test to only write iyp to cout