[sextante] algorithm fixes and minor changes
[sextante] fixed bug in R installation check in windows