Chnage the parameter name 'func' to 'f'

As per #81