A native D implementation of Limited Memory Broyden–Fletcher–Goldfarb–Shanno optimizer