Computational and experimental approach to understanding the structural interplay of self-assembled end-terminated alkanethiolates on gold surfaces