Finished Visa check function and entry check

Updated date diff portion of visa check function. Updated control flow
in Visa check. Cleaned up entry check condition function