Current crowding and misalignment effects as sources of error in contact resistivity measurements. Part I: Computer simulation of conventional CER and CKR structures