Design and setup of a contact angle measurement system