Refactor example code into graphNMF.jl and update to use solve! with tests