Improvde directional option in Basic Correlation algorithm