Update sparseAutoencoderCost.m

Hi Yang,

I am doing the UFLDL exercise and came across your code. They are very well implemented and helped me understanding the material. There is one line of implementation seems not agree with the notes (see the proposed change above), please correct me if I am wrong. Thank you very much. Have a nice day! :D

Pei