revise allocVector/ScalarXXX, creating allocVector1XXX
Make ScalarXXX functions inline
eliminate surplus updates, that affects merge
Merge branch '24-scalars-gc' into 27