2014-JUN-08  Cleaning up code, removed non-used parameters in function, removed pointer adjustements.