Faster with perfunc

Harmonic mean with perfunctory mechanism . removed all loops