added hypothesis and cost function to mlintro