fixed LMS with HPE matrix