Can you add a short comment here like `# .tolist() is necessary to work around a bug in numpy 1.8`