A complete rewrite - now puts into a Global matrix MTT_data