Pātuhitia tēnei: Stock Management in Automated Pharmaceutical Warehouses: Improved Detection and Replenishment