Modified version of dlxsim

Several Changes and bug fixes were introduced by Erik Altman and Chandrika
Mukerji. I do not have a detailed description of these changes.

I introduce a small bug fix. Grep "LAL" to see the changes introduced by me.

Luis A. Lozano
