Converted calcSelectivities to multiple dimensions