+ Added time measurement.
* Fixed writing in wrong memory.