corrected a small mistake in the CMAC and added documentation