created a message box if user calculates without inputting all info