cupid: Fix bug that caused seg fault if RMS was supplied in the config

In such cases the variance array was not being mapped.