The effects of 5f localization on magnetic properties of NpSn3