Updated copyright and license notices for all matlab and c files added gpl v3 license text in main src dir.