Used vDSP to find the maximum value.