add persistent vector vector-1d predicate
Persistent vector optimisations
Various testing, coercion and assignment fixes