in comparison functions, compare actual values and not pointers
made code format uniform
Merge pull request #233 from jdgeddes/master

Bug in compare functions for double and SimulationTime