Made simulation code more generic.  Fixed polyA .bed generation