soft_assignment: Function to calculate the third term in the objective function
Description
Function to calculate the third term in the objective function
Usage
soft_assignment(X, C, sigma)
Value
a matrix with diagonal element as 1 while other elements as zero
(eye matrix)