Derivations : Remove unnecessary dimension in arrays