Computer simulation of sphenopsid architecture. I. Principles and methodology