To Masterwork a weapon after the Forsaken update, you need to progress it's masterworked stat through 10 ranks, with different and presumably increasing prices for each level.
I know the first level costs, glimmer, the second glimmer and legendary shards, with the third costing a masterwork core.
What are all ten levels of masterwork progression? Are the materials needed for each level the same for each weapon? I would like to know how many masterwork cores it takes to complete all ten levels.