Working on fixing the relational algorithm. Media and tags are both now working correctly however the locations query is not accurate in accordance with the distance radius specified in the DistanceCalculator class.