significant speed improvements by replacing for-loops with numpy expressions
Removed all for-loops in the code to improve computational efficiency. Thanks to Alfredo Ricci Vásquez for submitting the PR containing these optimizations.
Removed all for-loops in the code to improve computational efficiency. Thanks to Alfredo Ricci Vásquez for submitting the PR containing these optimizations.