Towards functional analysis of archaeological objects through reverse engineering processes