An investigation on biofeedback analysis and psychosomatic applications