Added code for analyzing networks in paintings