Update lms.m

changed name for some variables