fixing endog issues

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/sphet@75 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
back to revision 74 saved

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/sphet@76 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
back to 74

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