added optional partial-sampling parameter to forest routines