edited weights argument in runBRT to accept a vector of predefined weights