* Add edgeware types to the base * Fix edgeware type imports * Swap calcSignLength to BN result * Don't allow max to go negative