On the optimal choice of the electrode number and locations in body surface mapping