added greedycpp code. To be interfaced with lalsimulation
minor updates to greedcpp