Fixed code to work from GitHub

Added package prefix eo. before all calls to custom functions. Also
added f_sample.m which was missing in the previous commit.