*fixed bug with only two variables in lekprofile

*garsons algorithm now works with one variable

*lekprofile stops with one variable