Update learningCurve.m

lamba to be passed as 0 for calculating training error and cross validation error.