Created a module (probably needs some work) that can be imported and checks for valid inputs to return an elevation.