change k and m to ints
add benchmarks to signatures_test.go
add benchmark to encoding_test.go
add benchmark to rpcnetwork_test.go