Improvements

* Reformats output
* Separates init and operation benchmarks
* Handles memory allocation errors
* Normalizes coding style