remove_triangle function

Remove triangle from symmetric matrix and return long format data.