fixed calling conventions for stereocorrespondence functions

fixed calling conventions for stereocorrespondence functions. Straight forward commit.