Fix params.
Add parameter for splitting displacement calculation task into smaller parts to handle memory issues.
closes #185.