You probably already fixed this but...
The stats functions require a 25x1 sized matrix to be assigned to the variable REGS to function. Normally this is defined by default, but you might have deleted it or modified it in some way.
I really don't like this about the 42S, I would like to create a better solution.
> --
> You received this message because you are subscribed to the Google Groups "iPhone42s" group.
> To post to this group, send email to
ipho...@googlegroups.com.
> To unsubscribe from this group, send email to
iphone42s+...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/iphone42s?hl=en.
>
>