Added lookAlong function to Matrix.