A right-angled triangle has vertices at $( 2,3 ) , ( 9 , - 1 )$ and $( 5 , k )$. Find the sum of all the possible values of $k$.