Number of elements in m and c vectors 8
Number of observation vectors 80

Elements of c and m with iteration (red is true value)

Cost function with iteration

Scatter plots with lines