Basically trying to just do what the tital says and I have a working function, but it is running much to slow. The input image to this function will always have the same sha