Implementation of ps parser for function type 4. Function type 3 not
implemented yet and type 0 needs a better interpolation. Functions and
colorspaces need more testing.
As the package was growing large, there is a need to clean up. Testing
to refactor into a core (basic pdf parsing and primitive objects) and a
higher level model package.