Add n-d dot product & accessors
Fix dot product, add experimental serialization