broke up mixed basis addition in diracvector.jl into multiple functions