modelToIndex function

Convert model results into a house price index