Added deceleration computation and fixed bug in sbpl

The acceleration and deceleration is supposed to be symmetric, but it isn't.  There is still a bug lurking about...