Fix for issue #420.

The frontend only creates a scalar literal instead of an array literal in order to initialize a vector field. This commit adds the missing code.