Fixed some bigs for running simulated data. Updates sim128.