Feature extraction based method for the inverse solution of electrocardiography