Simple, reasonably-optimized implementation of (linear) mixed effect models using method of moments in Matlab. See example.m.