Tidied up the IndexBasedExpression and moved it outside of the
DisplacementDependentProbabilityConnector class (Expressions should
probably reside in their own modules I expect)