Added modified loss views to the loss_calculatr.py

2 jobs for feature/using_modified_loss_views in 3 minutes and 16 seconds (queued for 2 minutes and 8 seconds)