added getNewCandidates(BGP), getParamKernel(BGP) and checkBounds!(). with tests.