Finished the getPixelSpeed method which now needs (a lot) testing