Clean up pin_definitions.hpp. Add comments, remove unused meta functions