Modeling and Control of a Tailsitter with a Ducted Fan