pain and suffering calculation