Configurational Entropy in Multicomponent Alloys: Matrix formulation from ab initio based Hamiltonian and application to FCC Cr-Fe-Mn-Ni system