Added analytical signal calculation