Added Matrix API from Cairo.
Added path data type.
Fixed matrix implementation.
Added path operations and reimplemented paths with dlists.