Added include guard to InputParser header.
Added exception throwing to InputParser's conversion functions.