Updated simulator to compare with wt backend.
Improved comments and documentation.