Arranging all the typedefs into the same area of the code. Adding error
checking to the itk filter to return any itk error message that might
be generated.