Moving MakeSpriteMatrix to the Sprite class.