Fixed and debugged the simulation - need to clarify question about probability, but other than that it seems to be working correctly. Send output trace to Peter tomorrow AM