Dynamics of a bioinspired feathered flapping wing including contact modeling