Frank Vogel says good energy on both ends helped Magic secure win