added GRaF modules and modified SameTimePlace

added modules to run GRaF either with oir without optimisation and modified the ouput module SameTimePlace to handle the fact that GRaF's predict function outputs a three-column matrix, not a vector