Working in legend
Standard Reference Points now working
Legend finally works properly! Commit before merge