Cleaned up Code, worked with a YUV Preproccessed Image to test