Constructions of dual frames compensating for erasures with implementation | Synapse