minor fixex on regularized cost function
Ex1: Part1 Done
Ex1: Part3,4 Done
Ex1: Part2 Done