da vinci 's original commission for madonna of the rocks had come from an organization known as the confraternity of the immaculate conception , which needed a painting for the centerpiece of an altar triptych in their church of san francesco in milan .