decodeFrom is no longer destructive with it's inputs. Added isOnCurve(). Added validate(). Fixed formatting. Factored out new functions serializeSig and parseSig.