add utility function for creating l3ga object from vector