Change decodeBase58

New method is up to 28x faster and doesn't involve numbers bigger than they should be.