Fix test for edges
Fix all test errors
Use CsArray
Don't check int types because of numpy.int32
Add setWeightMatrixSparse method
Remove proportionHetero from setRandomInfected
Reduce num params
Fix for contact rate upper bound
Reduce params