added cache of bitson for some faster calculations
added getPValue function
fixed gsl_dir autodetect