bug fixes in diracvector.jl, enforce single dimension indexing for DiracVector, added more tests