Inconsistency checking made more efficient.
Date inconsistencies check for leap years.
Tests updated.