Minister Mathew T Thomas submits resignation