some progress on implementing map
fix SCons dependency graph
fix type errors
more progress on map
fixed mistake
fixed more mistakes
reference counting in VectorArray
use vecmult to test memory handling
make sure block size is set correctly for GPU
changed name of device function
fixed mistake, todo: write test for floats