Pout field function has a hardcoded frequency. Replace by Parameter so it can be updated dynamically.