bug fixes, first version of simulate_aniso.py ready