Final Update

Added "for" capability
Checked the functionality on GPUs (AMD and NVIDIA)
Dynamic return made available