Added matlab files and first go at boundary weighted regression