add dot operator, rearrange clauses in ex() and vd() and add error calls.
add rotate and signum functions and stubs for transpose and reverse.