added a benchmark for function overhead, ironed out most bugs in single-core Reduces