Optimal Design of Multivariate sensors