Merge pull request #8 from mllewellyn/mul_div_debugging

fixed typo
new funcitons added, new debug functionality added
fixed other thigns that needed to be 0 filled
merged changes between max and andrew