ADD: finished slantCorrection function —> still needs to be tested on Nate’s computer.