allow create vecotr and create matrix to work with more code pasted from console (i.e., delete leading [1] and >