dn - updated create_stochss_Ami, some refactoring + new ami