issue#27: rhocs last dimension is allocated incorrectly in EMfields

This fix should go in all active branches.