Prettifies memory.h

Removes redundant and outdated comments.
Removes static_cast from volatile experiments.

Issue: #27