Add mean() to mm.c