added constructors, from_object and dot product
stuff