added confusion mat code