Fairly major overhaul of rle2 and inverse.rle2 functions.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/accelerometry@38 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Little bug. 

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/accelerometry@39 edb9625f-4e0d-4859-8d74-9fd3b1da38cb