In the programming assignment for Week 2, I am stuck on implementing the cost function . The cost function is expressed as the summation, 1 to m , of two terms. Should I break that into two summations? Then I could use np.dot on each of the terms. Then multiply the whole thing by negative 1/m. Is this the right approach?