array cross-platform normalization by Arran Turnbull