fix a bug in ridge regression,add comment in regression class