Merge pull request #354 from doxav/fixed_autogensh_linux

fixed autogen.sh for Linux compilation
fixed bootstrap vote (weird average loss compared to results, prediction errors). improved prediction accuracy