Inverse problem solution in cardiomagnetism using a current multipole expansion of the primary sources