Separate init and core phases for measurements
Fix memory leaks
Fix memory leaks for Feldspar code
Average measurements (in bitonic) over 10 iterations