Add an updated sober kernel to keep track of direction. Resolves #4.