solve W=m*c^2,m=M/sqrt(1-v^2/c^2) for M