initialize

initialized gradient function, to use gradient search to find the optimal solution for the power distribution for MMSE
gradient Finished
merge gradient