add Accelerate variants to some scalar functions