cleaned up SBM parameter setting / weight matrix generation