Added utility functions.
Updated block to allow for unaligned and arbitrary length reads/writes.