changed hypothesis function from theta transpose times X into X times theta so that X doesn't have to be a column vector of just one training example