Move matem directory to src