fixed splmm for repeated measures by adding small diagonal component