Theoretical Studies of Ultracold Dipolar Molecules