Changes in fancy_legend to include ncol