Fortran function remembers values (newbie help)

Implicit save strikes again! I firmly believe that if this stupid feature is removed from the language (and replaced with the expected behavior) it will fix more bugs than it will cause.