added functions to return kelly chi squared values