Fix & properly implement pitched arrays
Cleanup tests