MultipleInputsLayer bugfix, ConcatLayer, FlattenLayer