Add input type checking for base58 decode
Add type checking on verifySignatures, return number of signatures verified