Make means array contiguous for numpy <= 1.6.1