Development of an automatic procedure to mechanically characterize soft tissue materials