Spherical perceptron as a storage memory with limited errors