added aml to the scripts
fixed complex.pow function
added one more line to the Stats.to_s printout
updated tests