Fixed typo in PixelFormat switch.
Changed implementation of PixelData to a jagged array.
Fixed GetRow().