dectorizing (Vec (n>0) (Vec D0 a)) now replicates empty vectors properly, side effect of this commit is more runtime checks with better error messages for devectorize
nlp solving working
simple Ocp solving working