Added  major scale function