defaultIntegerChecks function

Default checks for integer variables