given two parametic curves calculates their linking number