INCREF descriptor before creating array

PyArray_NewLikeArray() steals a reference to the descriptor, so INCREF
the descriptor looked up before passing it in.
DECREF temporary array on error

Properly DECREF and free objects allocated for color matrix upon error.