An NTD germanium-based microcalorimeter with 3.1 eV energy resolution at 6 keV