added comments. Changed mul_mod variable names

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>