Cleaned up comment, replaced computationally inefficient operation