Altered shade() to return a pixel instead of a pixel pointer.