adding some minor helper functions
adding setup.m
updating README, added setup.m plus some helper functions