updated setindex! in diracvector.jl to align with 1D indeing enforcement