create slope files, write jasmine tests for #getSlope function