add scaleToImage
Add failing tests for getSlope
Pass tests for getSlope
Add pixellate subroutine