Adjusting occlusal appliance by functional evaluation of muscle activity