add assortativity calculation m-file