implement digital shift, made wafom generic, implement string -> (BasisPoint, wafom, t), add test function