use 1 and Math.sqrt(2) for costStraight and costDiagonal, rather than allowing options to be passed in. Issue #12