reference counting in VectorArray
use vecmult to test memory handling
make sure block size is set correctly for GPU