multiple bug fixes in basisstuff, wrote DiracVector type and constructor as part of redesign