make code generation work with 1d vectors (those were wrongly translated
into doubles in parts of the code and kept as vectors in others leading to compiler issues)
into doubles in parts of the code and kept as vectors in others leading to compiler issues)