icr: computation of icr in palm frame (kinda) works now