added flow chart of prec simulation + other misc fixes