Learning Magic to Transform Ordinary Moments