Tried to implement the "Matlab" friction model