revamping nlte matrix setup procedure