Fix peaks_from_model_parallel

This fixes #254 by adding a simple variable for the shape. The same code in the issue runs fine now.