Molini, Thomas, Secretary to General Miranda