Improved methods for calculating vectors of short length in a lattice, including a complexity analysis | Synapse