Another attempt at bugfix

Added constructor for vector that takes a vector