Fixed a bug in the contact stress tensor.