Flexible resources for quantum metrology. (30th June 2017)