Add Functions for Measuring Size and Location of Elements