adding avector-coerce in solve and least-squares