A yield function for granular materials based on microstructures. Issue 4 (15th June 2015)