Simplified ram calculation.

Moved it into one line and took out the constant that
only geeks would recognize.
Merge pull request #5 from docwhat/mem

Simplified ram calculation.