Added test case for matlab functions, added a util namespace for utility functions.