Optimizations added:

1. Increased buffer value to log4j.xml to send out all throttled events
in one go instead of one event every interval

2. Add isApproximatelyEqual() to compare two events with defined
accuracy.