Starting to add registers and logic to actually use the aes core.
Fixed erroneous update of num_rounds in wrong process.